package com.jmb.api.web.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jmb.api.entity.DataFactory;
import com.jmb.api.vo.DataFactory.DataFactoryInfoVO;
import com.jmb.api.vo.DataFactory.DataFactoryQueryVO;
import com.jmb.api.vo.DataFactory.DataFactoryVO;
import jakarta.validation.Valid;


public interface DataFactoryService extends IService<DataFactory> {

    void saveOrUpdateDataFactory(@Valid DataFactory dataFactory);

    Long executeDataFactory(Long id);

    IPage<DataFactoryInfoVO> listDataFactory(IPage<DataFactoryInfoVO> page, DataFactoryQueryVO dataFactoryQueryVO);
}
